# 【练习】词频统计
# 编写一个Python程序，来计算给定文本中每个单词出现的次数。
def word_frequency_statistics(word):
    frequency = word.count("Hi")
    return frequency

if __name__ == "__main__":
    print(word_frequency_statistics("Hi,Tom.good morning,boy"))



